package Databases;

import UserUnit.ImpPhoto;
import java.util.Map;
import java.util.List;
import org.xmldb.api.base.XMLDBException;

public interface DbDAO {
    
    public List executeQuery(String ActionId, Object[] Parameters);
    
    public Map seachBySpecificTag(Object[] Parameters);
    
    public Map searchBySpecificOntologyFirstLevel(Object[] Parameters);
    
    public Map searchBySpecificOntologySecondLevel(Object[] Parameters);
    
    public Map searchInNewsByKeyWord(Object[] Parameters);
    
    public Map searchInNewsinParagraph(Object[] Parameters);
    
    public Map searchTitleinNews(Object[] Parameters);
    
    public Map searchallPhotos(Object[] Parameters);
    public String searchIdMaxPhoto()throws XMLDBException;
    public void insertPhoto(ImpPhoto photo);
    public void deletePhoto(String[] idFile);
    
    
    
}
